
package org.springblade.modules.app.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.app.entity.Article;
import org.springblade.modules.app.mapper.ArticleMapper;
import org.springblade.modules.app.service.IArticleService;
import org.springframework.stereotype.Service;

/**
 * 文章列表 服务实现类
 *
 * @author kingk
 */
@Service
public class ArticleServiceImpl extends ServiceImpl<ArticleMapper, Article> implements IArticleService {

	@Override
	public IPage<Article> selectArticlePage(IPage<Article> page, Article article) {
		LambdaQueryWrapper<Article> queryWrapper = new LambdaQueryWrapper<Article>();
		IPage<Article> result = baseMapper.selectPage(page, queryWrapper);
		return result;
	}

}
